public class demo6 {
    public static void main(String[] args) {
        compare(10,20);
    }
    public static void compare(byte a , byte b){
        System.out.println("byte");
        System.out.println(a == b);
    }
    public static void compare(short a , short b){
        System.out.println("short");
        System.out.println(a == b);
    }
    public static void compare(int a , int b){
        System.out.println("int");
        System.out.println(a == b);
    }
    public static void compare(long a , long b){
        System.out.println("long");
        System.out.println(a == b);
    }
}
